projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccfacb3
)
Revert "GtkGrid: Add a few NULL checks"
author
Matthias Clasen
<mclasen@redhat.com>
Sat, 18 Jul 2015 00:18:34 +0000
(20:18 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sat, 18 Jul 2015 00:18:34 +0000
(20:18 -0400)
This reverts commit
e215db6da21fc7c54f49b247afabc06a18d60513
.
We are actually requiring non-NULL out arguments here now.
gtk/gtkgrid.c
patch
|
blob
|
history
diff --git
a/gtk/gtkgrid.c
b/gtk/gtkgrid.c
index b12af752f52dad7541343816a5d2b1d7489455c7..1b821b22d02daa3894b42fe8027a14853c241aeb 100644
(file)
--- a/
gtk/gtkgrid.c
+++ b/
gtk/gtkgrid.c
@@
-1127,11
+1127,8
@@
gtk_grid_request_sum (GtkGridRequest *request,
nat -= linedata->spacing;
}
- if (minimum)
- *minimum = min;
-
- if (natural)
- *natural = nat;
+ *minimum = min;
+ *natural = nat;
}
/* Computes minimum and natural fields of lines.